package cn.com.xiaoshoujia.user.mapper;


import cn.com.xiaoshoujia.user.entity.ActivityJoin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityJoinMapper{

    List findTeamJoin(@Param("headId") Long headId,@Param("activityId") Long activityId);

    Object findJoinStatus(@Param("sysId") String sysId,@Param("id")Long id);

    Integer findShareStatus(@Param("sysId") String sysId,@Param("id")Long id);

    Object findUserJoin(@Param("sysId") String sysId,@Param("id")Long id);

    List findJoinUrl(@Param("headId")Long headId,@Param("id")Long id);

    Object findShareJoin(Long headId);

    String findShareName(String sysId);

    String findShareId(Long parentId);

    int save(ActivityJoin activityJoin);

    Object findBySysIdTeamId(@Param("headId") Long headId, @Param("sysId") String sysId,@Param("orderId") String orderId);

    Integer findType(@Param("headId") Long headId, @Param("sysId") String sysId,@Param("orderId") String orderId);

    Object findNoPayTeam(@Param("sysId")String sysId,@Param("id") Long id,@Param("headId")Long headIds);

    Object findNoFailTeam(@Param("sysId") String sysId,@Param("id")Long id);
}